WP_STATISTICS\Helper D

Total Complexity 316
Dependencies 20
Dependents 77
Total lines 2,103
Lines of code 1,098
Logical lines of code 615
Comment lines 673
Methods 93
Properties 0

Methods 93

Method Rating Maintainability Complexity Lines of code
mysql_time_conditions()
D
29
34 120
send_mail()
A
36 14 73
checkActiveCachePlugin()
A
50 10 28
is_request()
A
59 10 14
get_html_page()
A
50 9 26
getConditionSQL()
A
52 9 24
is_login_page()
A
53 9 20
FilterQueryStringUrl()
S
49 7 29
get_upload_url()
S
58 7 13
getReportEmailTip()
S
40 3 69
getDefaultDateFormat()
S
56 6 18
get_site_title_by_url()
S
55 6 18
get_list_taxonomy()
S
55 6 18
calculatePercentageChange()
S
58 5 16
dntEnabled()
S
68 6 6
formatNumberWithUnit()
S
59 5 13
get_date_install_plugin()
S
54 4 21
getAverageRegisterUser()
S
55 4 19
getAveragePost()
S
55 4 19
getAverageComment()
S
55 4 19
calculateDateDifference()
S
57 4 15
shouldTrackAnonymously()
S
66 5 7
json_to_array()
S
66 5 7
convertBytes()
S
60 4 13
checkUrlForParams()
S
61 4 13
validateHitRequest()
S
49 2 34
is_gutenberg()
S
73 4 4
checkMemoryLimit()
S
63 4 10
compare_uri_hits_int()
S
71 4 5
is_rest_request()
S
63 4 10
getHitsDefaultParams()
S
59 3 14
getPostTypesByTaxonomy()
S
63 3 11
get_post_list()
S
57 2 16
isAdminBarShowing()
S
73 3 4
get_default_query_params_allow_list()
S
70 3 5
injectionPatterns()
S
51 1 30
get_robots_list()
S
66 3 8
getRequestUri()
S
69 3 6
getTaxonomyName()
S
68 3 7
get_query_params_allow_list()
S
64 3 9
getTableColumnSortUrl()
S
65 3 8
getPostTypeName()
S
68 3 7
send_sms()
S
67 3 7
standard_json_encode()
S
64 3 9
show_site_icon()
S
64 3 8
GenerateRgbaColor()
S
61 2 11
getInitialPostDate()
S
69 2 6
yieldARow()
S
67 2 8
isAddOnActive()
S
67 2 7
urlToDir()
S
65 2 8
prepareArrayToStringForQuery()
S
68 2 7
checkMiniChartOption()
S
77 2 3
getDeviceCategoryName()
S
69 2 6
divideNumbers()
S
70 2 6
get_wp_sites_list()
S
67 2 8
isStringLengthBetween()
S
74 2 4
isAssoc()
S
69 2 6
isBypassAdBlockersRequest()
S
77 2 3
get_screen_id()
S
72 2 5
get_list_post_type()
S
64 2 9
get_updated_list_post_type()
S
71 2 5
SortByKeyValue()
S
68 2 7
strip_array_indices()
S
69 2 7
set_all_option_datepicker()
S
74 2 4
random_string()
S
65 2 8
isCustomTaxonomy()
S
69 2 7
isCustomPostType()
S
74 2 4
getCountPosts()
S
67 2 8
getCountPages()
S
67 2 8
isRequestSignatureEnabled()
S
79 1 3
getCountSpam()
S
79 1 3
isJson()
S
75 1 4
geoIPTools()
S
79 1 3
getWebsitePerformanceSummary()
S
75 1 4
getStartOfWeek()
S
75 1 4
getCountComment()
S
72 1 5
get_file_path()
S
78 1 3
get_uploads_dir()
S
74 1 4
makeAnonymousVersion()
S
68 1 6
getDefaultPostTypes()
S
71 1 5
getPostTypes()
S
79 1 3
getCustomPostTypes()
S
76 1 3
getUrlDecode()
S
78 1 3
check_url_scheme()
S
74 1 4
get_wordpress_version()
S
80 1 3
get_domain_name()
S
69 1 6
getCountUsers()
S
75 1 4
getTimezoneCountry()
S
73 1 5
IsPostPublished()
S
79 1 3
RemoveQueryStringUrl()
S
78 1 3
compare_uri_hits()
S
79 1 3
filterArrayByKeys()
S
78 1 3
getLastPostDate()
S
69 1 6